﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DZ.Data_Modals;
namespace DZ.Data__Class
{
    class ClsSlideEntry
    {
        DB_DZA_Entities dbContext = new DB_DZA_Entities();
        public bool Save(TblBatchMaster  NewBatch)
        {
            dbContext.TblBatchMasters .Add(NewBatch);
            dbContext.SaveChanges();
            return true;
        }
        public bool Save(TblBatchDetail  NewBatchDetaisl)
        {
            dbContext.TblBatchDetails.Add(NewBatchDetaisl);
            dbContext.SaveChanges();
            return true;
        }
    }
}

